﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///ASPXBaseClass 的摘要说明
/// </summary>
public class ASPXBaseClass : System.Web.UI.Page
{
    public string UserName = string.Empty;
  
    public ASPXBaseClass()
    {

    }

    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        if (Session["User"] == null)
        {
            Response.Redirect("~/Admin/RedirectLogin.htm");
        }
        else
        {
            UserName = Session["User"].ToString();
        }
    } 
}